#ifndef DEFECT_FBACK_H
#define DEFECT_FBACK_H
#include "halconcpp/HalconCpp.h"
using namespace HalconCpp;
struct D_Fb
{
    //参数 1  产品定位阈值 80
    int para1;
    //参数2  黑色缺陷阈值 80
    int para2;
    //参数3 白色缺陷阈值 40
    int para3;
    //参数4 缺陷面积 50，10
    int para4;
    // 预留
    int para5;
    int para6;
    int para7;
    int para8;
    int para9;
    int para10;
};


struct D_Fb_PLACE
{
    HalconCpp::HTuple x1;
    HalconCpp::HTuple y1;
    HalconCpp::HTuple x2;
    HalconCpp::HTuple y2;
    HalconCpp::HTuple hvCCDHandle;
};
class Defect_Fback
{
public:
    Defect_Fback();
    int M_Fb(HObject Img,HObject &OutImg);
    D_Fb m_part;
    D_Fb_PLACE m_part2;
};

#endif // DEFECT_FBACK_H
